./reg_rw /dev/xdma0_bypass 0x0 w
./reg_rw /dev/xdma0_bypass 0x4 w
./reg_rw /dev/xdma0_bypass 0x10 w 0x1
./reg_rw /dev/xdma0_bypass 0x0 w 0xf

./irq /dev/xdma0_events_0

./dma_to_device   -d /dev/xdma0_h2c_0 -f ../tests/data/datafile0_4K.bin -s 4096 -a 0 -c 1 &
./dma_from_device -d /dev/xdma0_c2h_0 -f output_data_4k.bin -s 4096 -a 0 -c 1 &

 ls /dev/ |grep xdma

cd /home/kra/Documents/XDMA/linux-kernel/
insmod xdma/xdma.ko
cd tools
./reg_rw /dev/xdma0_bypass 0x4 w
./reg_rw /dev/xdma0_bypass 0x38 w 0x1
./reg_rw /dev/xdma0_bypass 0x3C w 

./reg_rw /dev/xdma0_bypass 0x34 w 0x1
./reg_rw /dev/xdma0_bypass 0x30 w 0x1

./reg_rw /dev/xdma0_bypass 0x34 w 0x0
./reg_rw /dev/xdma0_bypass 0x30 w 0x0


./reg_rw /dev/xdma0_bypass 0x14 w
./reg_rw /dev/xdma0_bypass 0x10 w 0x1
